package o;

import com.huawei.appgallery.packagemanager.api.bean.ManagerTask;

public class ejp {

    public static class d implements coi {
        private ejs ˏ;

        public d(ejs o_ejs) {
            this.ˏ = o_ejs;
        }

        public void ˋ(ManagerTask managerTask, int i, int i2) {
        }

        public void ॱ(ManagerTask managerTask, int i, int i2) {
            if (this.ˏ == null) {
                Logger.ˎ("ThirdAppInstaller", "install  OperationCallback error , mListener is null");
                return;
            }
            String str = managerTask.packageName;
            switch (i) {
                case 1:
                    this.ˏ.ॱ(str);
                    return;
                case 4:
                case 12:
                    this.ˏ.ˏ(str, i2);
                    return;
                case 5:
                    this.ˏ.ˋ(str);
                    return;
                case 13:
                    this.ˏ.ॱ(managerTask);
                    return;
                default:
                    Logger.ˏ("ThirdAppInstaller", "unhandler the type");
                    return;
            }
        }
    }
}
